Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After making any changes to a cask, existing or new, verify:
brew audit --cask --online <cask>
is error-free.brew style --fix <cask>
reports no offenses.Added the
requires_rosetta
caveat to many casks with only intel builds available. I'm sure I missed some but tried to cover the most popular and most obvious ones.Methodologies used:
url
substrings such as: intel, x86, x64, amd64file
command and Info box for appsPotential issues: some casks might get updated in the future with arm builds so then a maintainer will need to notice and remove the caveat, especially for universal builds. Note in particular there are some casks with arm builds for development versions but not for the stable version.
Related problem: I identified some casks that are only built for 32-bit intel, so they do not work with Rosetta. Not sure what is the right way to handle these -- require intel arch? Can make a separate PR for this.